import { existsSync, mkdirSync } from 'fs';
import { join } from 'path';

export function createUploadDir() {
  const uploadDir = join(process.cwd(), 'uploads', 'images');
  if (!existsSync(uploadDir)) {
    mkdirSync(uploadDir, { recursive: true });
  }
}
